<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="openal.resources.html">« 资源类型</a></li>
      <li style="float: right;"><a href="ref.openal.html">OpenAL 函数 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.openal.html">OpenAL</a></li>
    <li>预定义常量</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="openal.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <dl>
  
   <dt id="constant.alc-frequency">
    <strong><code>ALC_FREQUENCY</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Context Attribute
    </span>
   </dd>

  
  
   <dt id="constant.alc-refresh">
    <strong><code>ALC_REFRESH</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Context Attribute
    </span>
   </dd>

  
  
   <dt id="constant.alc-sync">
    <strong><code>ALC_SYNC</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Context Attribute
    </span>
   </dd>

  
  
   <dt id="constant.al-frequency">
    <strong><code>AL_FREQUENCY</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Buffer Setting
    </span>
   </dd>

  
  
   <dt id="constant.al-bits">
    <strong><code>AL_BITS</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Buffer Setting
    </span>
   </dd>

  
  
   <dt id="constant.al-channels">
    <strong><code>AL_CHANNELS</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Buffer Setting
    </span>
   </dd>

  
  
   <dt id="constant.al-size">
    <strong><code>AL_SIZE</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Buffer Setting
    </span>
   </dd>

  
  
   <dt id="constant.al-buffer">
    <strong><code>AL_BUFFER</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Integer)
    </span>
   </dd>

  
  
   <dt id="constant.al-source-relative">
    <strong><code>AL_SOURCE_RELATIVE</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Integer)
    </span>
   </dd>

  
  
   <dt id="constant.al-source-state">
    <strong><code>AL_SOURCE_STATE</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Integer)
    </span>
   </dd>

  
  
   <dt id="constant.al-pitch">
    <strong><code>AL_PITCH</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float)
    </span>
   </dd>

  
  
   <dt id="constant.al-gain">
    <strong><code>AL_GAIN</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float)
    </span>
   </dd>

  
  
   <dt id="constant.al-min-gain">
    <strong><code>AL_MIN_GAIN</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float)
    </span>
   </dd>

  
  
   <dt id="constant.al-max-gain">
    <strong><code>AL_MAX_GAIN</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float)
    </span>
   </dd>

  
  
   <dt id="constant.al-max-distance">
    <strong><code>AL_MAX_DISTANCE</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float)
    </span>
   </dd>

  
  
   <dt id="constant.al-rolloff-factor">
    <strong><code>AL_ROLLOFF_FACTOR</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float)
    </span>
   </dd>

  
  
   <dt id="constant.al-cone-outer-gain">
    <strong><code>AL_CONE_OUTER_GAIN</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float)
    </span>
   </dd>

  
  
   <dt id="constant.al-cone-inner-angle">
    <strong><code>AL_CONE_INNER_ANGLE</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float)
    </span>
   </dd>

  
  
   <dt id="constant.al-cone-outer-angle">
    <strong><code>AL_CONE_OUTER_ANGLE</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float)
    </span>
   </dd>

  
  
   <dt id="constant.al-reference-distance">
    <strong><code>AL_REFERENCE_DISTANCE</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float)
    </span>
   </dd>

  
  
   <dt id="constant.al-position">
    <strong><code>AL_POSITION</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float Vector)
    </span>
   </dd>

  
  
   <dt id="constant.al-velocity">
    <strong><code>AL_VELOCITY</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float Vector)
    </span>
   </dd>

  
  
   <dt id="constant.al-direction">
    <strong><code>AL_DIRECTION</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float Vector)
    </span>
   </dd>

  
  
   <dt id="constant.al-orientation">
    <strong><code>AL_ORIENTATION</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source/Listener Setting (Float Vector)
    </span>
   </dd>

  
  
   <dt id="constant.al-format-mono8">
    <strong><code>AL_FORMAT_MONO8</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     PCM Format
    </span>
   </dd>

  
  
   <dt id="constant.al-format-mono16">
    <strong><code>AL_FORMAT_MONO16</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     PCM Format
    </span>
   </dd>

  
  
   <dt id="constant.al-format-stereo8">
    <strong><code>AL_FORMAT_STEREO8</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     PCM Format
    </span>
   </dd>

  
  
   <dt id="constant.al-format-stereo16">
    <strong><code>AL_FORMAT_STEREO16</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     PCM Format
    </span>
   </dd>

  
  
   <dt id="constant.al-initial">
    <strong><code>AL_INITIAL</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source State
    </span>
   </dd>

  
  
   <dt id="constant.al-playing">
    <strong><code>AL_PLAYING</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source State
    </span>
   </dd>

  
  
   <dt id="constant.al-paused">
    <strong><code>AL_PAUSED</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source State
    </span>
   </dd>

  
  
   <dt id="constant.al-stopped">
    <strong><code>AL_STOPPED</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source State
    </span>
   </dd>

  
  
   <dt id="constant.al-looping">
    <strong><code>AL_LOOPING</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Source State
    </span>
   </dd>

  
  
   <dt id="constant.al-true">
    <strong><code>AL_TRUE</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Boolean value recognized by OpenAL
    </span>
   </dd>

  
  
   <dt id="constant.al-false">
    <strong><code>AL_FALSE</code></strong>
     (<span class="type">int</span>)
   </dt>

   <dd>

    <span class="simpara">
     Boolean value recognized by OpenAL
    </span>
   </dd>

  
 </dl>

</div>
</div></div></body></html>